home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Inside!
/
Amiga FD Inside (1995)(Ultramax).iso
/
berndspd
/
systemtools
/
exgexe
/
install exgexe
< prev
next >
Wrap
Text File
|
1994-06-03
|
3KB
|
164 lines
; Install script for ExgExe)
;*********
; Strings
;*********
(set #bad-kick
(cat "You must be using Kickstart 3.0 or higher to install using this script!"
))
(set #copy-main "\n\n\n\n\nInstall the ExgExe command?")
(set #copy-main-help
(cat "\nThis will install the ExgExe program."
))
(set #copy-cfg "\n\n\n\n\nInstall the default configuration\n\"s:ExgExe.cfg\"?")
(set #copy-cfg-help
(cat "\nThis will install the default configuration."
))
(set #copy-doku "\n\n\n\n\nInstall the AmigaGuide documentation?")
(set #copy-doku-help
(cat "\nThis will install the AmigaGuide documentation."
))
(set #install-msg
(cat "\n\n\nInstallation program for\n\n"
"============\n"
"ExgExe 1.2\n"
"============\n\n"
"(c) 1994 by Stefan Hochmuth\n"
))
;*******************************************
; make sure Kick 3.0 or higher is available
;*******************************************
(if (< (/ (getversion) 65536) 39)
(
(abort #bad-kick)
))
(message #install-msg)
(welcome)
;*****************
; Install Program
;*****************
(if
(askbool
(prompt #copy-main)
(help #copy-main-help)
(default 1)
)
(
(set exgdest
(askdir
(prompt "Please select a drawer for ExgExe\n"
)
(help @askdir-help)
(default "c:")
(newpath)
)
)
(copyfiles
(prompt "Installing ExgExe...")
(source "ExgExe")
(noposition)
(help @copylib-help)
(dest exgdest)
)
;********************
; Add to user-startup
;********************
(set oldlevel @user-level)
(if (> oldlevel 0)
(user 2)
)
(startup "ExgExe"
(command (tackon exgdest "ExgExe >NIL:")
)
(prompt (cat "\n\n\n\nReady to add \""
(tackon exgdest "ExgExe")
"\" to s:user-startup?"
)
)
(help @startup-help)
)
(user oldlevel)
)
)
; ******************************
; Install Default Configuration
; ******************************
(if (NOT (exists "s:ExgExe.cfg"))
(if
(askbool
(prompt #copy-cfg)
(help #copy-cfg-help)
(default 1)
)
(
(set cfgdest (cat "s:"))
(copyfiles
(help @copyfiles-help)
(prompt #tocopy)
(source "ExgExe.cfg")
(dest cfgdest)
)
)
)
)
;***********************
; Install Documentation
;***********************
(if
(askbool
(prompt #copy-doku)
(help #copy-doku-help)
(default 1)
)
(
(set guidedest
(askdir
(prompt "Please select a drawer for ExgExe's\n"
"AmigaGuide documentation:")
(help @askdir-help)
(default "SYS:Utilities/guides")
(newpath)
)
)
(copyfiles
(prompt "Installing Documentation...")
(source "ExgExe.guide")
(infos)
(noposition)
(help @copylib-help)
(dest guidedest)
)
)
)
(set @default-dest exgdest)